﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HWR_Ants.Classes
{
    public class Road
    {
        private const double α = RoadMap.α;
        private const double β = RoadMap.β;
        private double _Distance;
        private double _PheromoneLevel;

        public Road(double distance)
        {
            _Distance = distance;
        }

        public double Distance
        {
            get { return _Distance; }
        }

        public double PheromoneLevel
        {
            get { return _PheromoneLevel; }
            set { _PheromoneLevel = value; }
        }

        public double WeighedValue
        {
            get { return (Math.Pow(_Distance , α) * Math.Pow(_PheromoneLevel, β)); }
        }
    }
}
